package mysql

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Nickname  string  `gorm:"type:varchar(30);not null;comment:'用户名'"`
	Name      string  `gorm:"type:varchar(30);not null;comment:'真实姓名'"`
	HeadImage string  `gorm:"type:varchar(500);not null;comment:'头像'"`
	Tel       string  `gorm:"type:varchar(11);not null;comment:'手机号码'"`
	Uptime    string  `gorm:"type:varchar(30);not null;comment:'创建时间'"`
	Price     float64 `gorm:"type:decimal(10,2);not null;comment:'账户余额'"`
}
